home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1996 April
/
Macworld (1996-04).dmg
/
Educational Demos
/
Goldilocks Gamebook
/
Goldilocks.DIR
/
00016_Script_16
< prev
next >
Wrap
Text File
|
1995-11-20
|
530b
|
27 lines
-- sky
on mouseDown
global currentColor,p1
puppetSound "Click.AIF"
puppetSprite 2, true
if currentColor = "red" then
set the castNum of sprite 2 to 209
put 0 into p1
end if
if currentColor = "blu" then
set the castNum of sprite 2 to 210
put 1 into p1
end if
if currentColor = "bro" then
set the castNum of sprite 2 to 211
put 0 into p1
end if
if currentColor = "gre" then
set the castNum of sprite 2 to 212
put 0 into p1
end if
updateStage
end